package com.chixing.ih.json;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘岩
 * Date: 2020-09-29
 * Time: 9:35
 *
 * @version 1.0
 */
public enum ReData {

    SUCCESS(200, "请求成功"),
    SUCCESS1(200, "点赞成功"),
    FAIL(400, "点赞失败"),
    FAIL1(400, "取消失败"),
    FAIL_EXCEPTION(500, "服务端繁忙"),
    FAIL_NOT_FOUND(404, "资源不存在"),
    FAIL_NORMAL1(408, "账号已存在"),
    FAIL_NORMAL2(408, "账号或密码错误"),
    FAIL_NORMAL3(408, "昵称已存在"),
    FAIL_NORMAL4(408, "验证码过期"),
    FAIL_NORMAL5(408, "验证码失效"),
    FAIL_NORMAL6(408, "验证码错误"),
    FAIL_NORMAL7(201, "取消点赞"),
    FAIL_NO_PERMISSION(403, "没有权限");

    public Integer code;
    public String msg;

    ReData(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
